﻿using Microsoft.EntityFrameworkCore;
using S.EliminationOrDath.Domain.Models;

namespace S.EliminationOrDath.Domain
{
    public class EliminationDbContext : DbContext
    {
        /// <summary>
        /// 配置上下文
        /// </summary>
        public EliminationDbContext(DbContextOptions<EliminationDbContext> options)
            : base(options)
        {

        }

        /// <summary>
        /// 淘汰
        /// </summary>
        public DbSet<EliminationModel> EliminationModel { get; set; }
        /// <summary>
        /// 死亡
        /// </summary>
        public DbSet<DeathModel>? DeathModel { get; set; }
    }
}